# $Id$
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributer: Gan Lu <rhythm.gan@gmail.com>

pkgname=scim-pinyin
pkgver=0.5.92
pkgrel=3
pkgdesc='Chinese pinyin input for SCIM'
url='http://www.scim-im.org/'
arch=('i686' 'x86_64')
license=('GPL')
depends=('scim')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.xz")
sha1sums=('d7c2d52a5712753af241a5301db23527ba438ea1')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --sysconfdir=/etc
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}
